deleteResult

inline suspend fun <T> HttpClient.deleteResult(urlString: String, noinline block: HttpRequestBuilder.() -> Unit = {}): Result<T>

Performs an HTTP DELETE request synchronously and returns the result as a Result of type T.

Return

Result representing the synchronous operation.

Parameters

urlString

The URL for the DELETE request.

block

Optional, allows customization of the request using HttpRequestBuilder.